<!DOCTYPE html>
<html>
<style>
    body{background: #f5f5f5 !important;}
    .headimgbox_talk_show{padding: 0!important;background-image:none!important;}
</style>

<!-- 专题列表1-专题列表1
-->

<link rel="stylesheet" type="text/css" href="<?php echo SHOP_TEMPLATES_URL;?>resource/js/slick/slick.css">
<link rel="stylesheet" type="text/css" href="<?php echo SHOP_TEMPLATES_URL;?>resource/js/slick/slick-theme.css">
<script src="<?php echo SHOP_TEMPLATES_URL;?>resource/js/slick/slick.min.js" type="text/javascript" charset="utf-8"></script>

<script>
    $(function(){
		
		$(".banner-inner>div").show();
        $(".banner-inner").slick({
            dots: true,
            autoplay: true,
            autoplaySpeed: 2000,

        });

    })

</script>

<div class="row sli_spec">
    <div class="col" style="margin-top:40px;">

        <section class="banner-inner">
            <div>
                <img height="360" width="1200" src="<?php echo SHOP_TEMPLATES_URL;?>images/baiying/banner1.jpg">
            </div>
<!--            <div style="display:None;">-->
<!--                <img  height="360" width="1200" src="--><?php //echo SHOP_TEMPLATES_URL;?><!--images/baiying/banner1.jpg">-->
<!--            </div>-->
<!--            <div style="display:None;">-->
<!--                <img  height="360" width="1200" src="--><?php //echo SHOP_TEMPLATES_URL;?><!--images/baiying/banner1.jpg">-->
<!--            </div>-->

        </section>
<script>
$(function(){
	var i=1;
	$(".items .box").each(function(){
		i=i+1;
		if(i===3){
			//console.log($(this).index());
			$(this).addClass("center");
			i=0;
		}
	})
})
</script>
        <div class="items">

            <?php foreach ( $output['article_li'] as $value ) { ?>
                <?php $article_url = CMS_SITE_URL.'/index.php?act=talk_show&op=talk_detail&article_id='
                    .$value['article_id'];?>
            <div class="box">
                <a href="<?php echo $article_url ?>"></a>

                <?php if($value['article_image']) {?>

                <img src="<?php  $image=unserialize($value['article_image']);
                                echo UPLOAD_SITE_URL.'/'.DIR_CMS.'/'.'article'.'/'.$image['path'].'/'.$image['name'];
                        ?>" alt="">
                <?php }else{?>
                    <img src="<?php  echo SHOP_TEMPLATES_URL.'/images/jiangTang.png';;
                    ?>" alt="">
                <?php } ?>
                <h1>
                    <?php
                    if (mb_strlen($value['article_title'])>50){
                        echo str_cut($value['article_title'],'28').'...' ;
                    }else{
                        echo $value['article_title'];
                    }
                    ?>

                </h1>
                <p>
                    <?php
                      if(mb_strlen($value['article_abstract'])>24){
                          echo mb_substr($value['article_abstract'],0,21,'utf-8').'...';
                      }else{
                          echo $value['article_abstract'];
                      }

                    ?>
                </p>
            </div>
			
           <?php } ?>

            </div>
      
    </div>
</div>


<!-- /专题列表1-专题列表1
 -->



</body>
</html>
